package com.dota.biz.user.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

import com.dota.biz.service.base.BaseService;
import com.dota.biz.user.domain.User;
import com.dota.biz.user.persistence.UserMapper;

@Service

public class UserService extends BaseService<UserMapper, User>{
	@Resource
	private UserMapper userMapper;
	@Cacheable("user")
	public List<User> selectByUser(User u){
		return userMapper.selectByUser(u);
	}
}

